package com.ruoyi.cm.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.math.BigDecimal;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 标段期数计算业务对象 cm_bd_qs_count
 *
 * @author zxs
 * @date 2024-09-30
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class CmBdQsCountBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 标段id
     */
    @NotNull(message = "标段id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long bdId;

    /**
     * 期数id
     */
    @NotNull(message = "期数id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long qsId;

    /**
     * 站点id
     */
    @NotNull(message = "站点id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long zdId;

    /**
     * 报表管理主键
     */
    @NotNull(message = "报表管理主键不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long bbglId;

    /**
     * 本期计量金额
     */
    @NotNull(message = "本期计量金额不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal bqjlje;

    //本次开票金额；
    private BigDecimal bckpje;
    /**
     * 累计计量金额
     */
    @NotNull(message = "累计计量金额不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal ljjlje;

    /**
     * 本期支付金额
     */
    @NotNull(message = "本期支付金额不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal bqzfje;

    /**
     * 累计支付金额
     */
    @NotNull(message = "累计支付金额不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal ljzfje;

    /**
     * 状态
     */
    @NotNull(message = "状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long status;
    //期数
    private Integer qs;
    /**
     * 备注
     */
    @NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String remark;


}
